<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SearchSum extends Model {

    protected $table = 'search_sum';
    protected $guarded = ['id'];

    public function getArea(){
        return $this->hasOne('App\Models\Area','id','area_id');
    }

}
